﻿
namespace LiuQiuRong.Chat.Utilities.Model
{
    public class ServiceResult
    {
        public string Status { get; set; }
        public string Info { get; set; }
        public object Data { get; set; }
    }

    public static class ServiceResultExtensions
    {
        public static void SetData(this ServiceResult that, string status, string info, object data = null)
        {
            that.Status = status;
            that.Info = info;
            that.Data = data;
        }
    }
}
